<template>
	<view class="content">
		<view class="section-0">
			<view class="section-body">
				<view class="list">
					<view class="item" @click="go()" v-for="item in list" :kye="item.id">
						<view class="name">
							<text>{{item.name}}</text>
						</view>
						<view class="action">
							<view class="iconfont icon-xiangyou1"></view>
						</view>
					</view>
				</view>
				
			</view>
		</view>
	</view>
</template>

<script>
	import { mapGetters, mapActions} from 'vuex';
	export default {
		data() {
			return {
				name: '',
				list: [
					{id: 1, name: '500kV同里-木渎双回开断环入工程'},
					{id: 2, name: '测试工程名称上限字符测试工程名称上限字符测试工程名称上限字符'},
				]
			};
		},
		methods:{
			go(item) {
				uni.navigateTo({
					url: '/pages/work/manager/engineering_prev/review/draw/info/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		background-color: #fff;
	}
	.section-0{
		width: 100%;
		background-color: #3a5df5;
		.section-body{
			padding-top: 50rpx;
			.list{
				width: 100%;
			}
			.item{
				margin-bottom: 28rpx;
				width: 100%;
				background-color: #ffffff;
				border-radius: 35rpx;
				box-shadow: 0 0 20rpx 10rpx rgba(#bcbcb5, 0.17);
				@include clear();
				box-sizing: border-box;
				padding: 0 35rpx;
				
				.name{
					width: 520rpx;
					height: 100rpx;
					line-height: 100rpx;
					font-size: 26rpx;
					font-weight: normal;
					font-stretch: normal;
					letter-spacing: 0rpx;
					color: #46464a;
					text-overflow: ellipsis;
					overflow: hidden;
					white-space: nowrap;
					float: left;
					font-weight: bold;
				}
				.action{
					width: calc(100% - 520rpx);
					float: left;
					height: 100rpx;
					line-height: 100rpx;
					text-align: right;
					.iconfont{
						font-size: 30rpx;
						color: #3b3c40;
					}
				}
			}
			box-sizing: border-box;
			width: 100%;
			padding: 40rpx;
			background-color: #fff;
			background-size: cover;
			background-repeat: no-repeat;
			border-top-left-radius: 50rpx;
			border-top-right-radius: 50rpx;
		}
	}
</style>